package com.swust.dao;

import com.swust.pojo.Blog;

import java.util.List;
import java.util.Map;

public interface BlogMapper {
    //插入数据
    void addBolg(Blog blog);

    //查询博客
    List<Blog> queryBlogIF(Map<Object, Object> map);

    List<Blog> queryBlogChoose(Map<Object, Object> map);

    //更新博客
    int updateBolg(Map<Object, Object> map);
}
